.borda {border: solid;
margin: auto;
width: 80px;
height: 7vh;
margin: auto;
text-align: center;
background-color: rgb(255, 255, 255);
}
div {text-align:left}

table{ margin: auto;}
#naometal{
    background-color: rgb(38, 192, 38) ;
}
table{ margin:auto}
#metaisalcalinos{
    background-color: rgb(226, 153, 18);
}
table{ margin:auto}
#metaisalcalinoterrosos{
    background-color: rgb(212, 226, 15);
}
table{ margin:auto}
#metaisdetransicao{
    background-color: rgb(255, 144, 196);
}
#semimetais{
    background-color: rgb(51, 165, 131);
}
#outrosmetais{
    background-color: rgb(159, 159, 192);
}
#halogenios{
    background-color: rgb(197, 232, 243);
}
#gasesnobres{
    background-color: rgb(40, 157, 192);
}
#lantanideos{
    background-color: rgb(142, 215, 238);
}
#actinideos{
    background-color: rgb(220, 208, 255);
}